package cn.kicsy.www.anonymous_bbs.repository;

import cn.kicsy.www.anonymous_bbs.entity.Ban;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface BanRepository extends JpaRepository<Ban, Long> {
    // 根据IP地址查找封禁记录
    Ban findByIpAddress(String ipAddress);
}